package cn.itrip.dao;

import cn.itrip.entity.ItripImage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ItripImageMapper extends BaseMapper<ItripImage> {
    List<ItripImage> getListByRoomId(@Param("roomId") String roomId,@Param("type") String type);
    List<ItripImage> getListByCommentId(String commentId);
    Integer insertItripImage(ItripImage itripImage) throws Exception;
}
